Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_GetDirection

You can use the Q3SpotLight_GetDirection function to get the direction of a spot light.

TQ3Status Q3SpotLight_GetDirection (
TQ3LightObject light, 
TQ3Vector3D *direction);
light
A spot light object.
direction
On exit, the direction of the specified light.
DESCRIPTION
The Q3SpotLight_GetDirection function returns, in the direction parameter, the current direction of the spot light specified by the light parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996